package com.photoeditor.demo.model.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * Created by @author winn on 2018/10/30.
 */

public class EthnicityBean implements MultiItemEntity, Serializable {
    public final static int ETHNICITY_TYPE_PARENT       = 1;
    public final static int ETHNICITY_TYPE_CHILD        = 2;

    private int mItemType = 1;
    private String mItemName;
    private String mItemId;
    private boolean mExpand = false;
    private boolean mSelAble = true;
    private boolean mHasChild = true;

    public EthnicityBean(int type, String name, String itemId) {
        mItemType = type;
        mItemName = name;
        mItemId = itemId;
    }

    @Override
    public int getItemType() {
        return mItemType;
    }

    public String getItemName() {
        return mItemName;
    }

    public String getItemId() {
        return mItemId;
    }

    public boolean isExpand() {
        return mExpand;
    }

    public void setExpand(boolean expand) {
        mExpand = expand;
    }

    public boolean isSelAble() {
        return mSelAble;
    }

    public void setSelAble(boolean selAble) {
        mSelAble = selAble;
    }

    public boolean isHasChild() {
        return mHasChild;
    }

    public void setHasChild(boolean hasChild) {
        mHasChild = hasChild;
    }
}
